.listen-identify {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  .listen-options {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;

    .control-button {
      padding: 12px 20px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      border: none;
      background-color: #f8f9fa;
      color: #333;
      font-weight: 500;

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        background-color: #e9ecef;
      }

      &.primary {
        background-color: #409eff;
        color: white;

        &:hover {
          background-color: #337ecc;
          box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
        }
      }

      &:disabled {
        opacity: 0.6;
        cursor: not-allowed;

        &:hover {
          transform: none;
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }
      }
    }
  }

  .chinese-translation {
    text-align: center;
    padding: 20px;
    margin: 25px 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 1.3rem;
    color: #212529;
    font-weight: 500;
  }

  .english-sentence-area {
    margin: 40px 0;

    h3 {
      text-align: center;
      margin-bottom: 30px;
      color: #212529;
      font-size: 1.4rem;
      font-weight: 600;
    }
  }

  .sentence-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 25px;
    border: 2px dashed #42b983;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.3rem;
  }

  .word-container {
    display: inline-block;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    &:hover {
      background-color: #f0f0f0;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
  }

  .word-revealed {
    font-weight: 600;
    color: #212529;
  }

  .word-hidden {
    font-weight: 600;
    color: #999;
  }

  .punctuation-item {
    font-weight: bold;
    color: #212529;
    padding: 12px 8px;
  }

  .completion-message {
    margin-top: 25px;
  }

  // 响应式设计
  @media (max-width: 768px) {
    padding: 15px;

    .listen-options {
      justify-content: space-around;
      gap: 10px;
      margin: 20px 0;

      .control-button {
        padding: 10px 15px;
        font-size: 0.9rem;
      }
    }

    .chinese-translation {
      padding: 15px;
      font-size: 1.1rem;
      margin: 20px 0;
    }

    .english-sentence-area {
      margin: 30px 0;

      h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
      }
    }

    .sentence-display {
      padding: 15px;
      font-size: 1.1rem;
      gap: 8px;
    }

    .word-container {
      padding: 10px 16px;
    }

    .punctuation-item {
      padding: 10px 6px;
    }
  }
}
